package com.tte.common.designpattern.service.impl;

import com.tte.common.designpattern.service.Shopping;

/**
 * 购买电脑实现类
 */
public class ShopCommputerImpl implements Shopping {

    @Override
    public String view() {
        System.out.println("浏览-电脑");
        return "浏览-电脑";
    }

    @Override
    public int collect() {
        return 0;
    }

    @Override
    public int addShoppingcCart() {
        return 0;
    }

    @Override
    public String placeOrder() {
        System.out.println("浏览-电脑");
        return "下单-电脑";
    }

    @Override
    public String payment() {
        System.out.println("付款-电脑");
        return "付款-电脑";
    }

    @Override
    public String goodsArrived() {
        System.out.println("到达-电脑");
        return "到达-电脑";
    }

    @Override
    public String signIn() {
        System.out.println("签收-电脑");
        return "签收-电脑";
    }

}
